package com.topc.problem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.base.model.PageParams;
import com.topc.base.model.PageResult;
import com.topc.problem.model.dto.QueryTagDto;
import com.topc.problem.model.po.ProblemInfo;
import com.topc.problem.model.po.ProblemTag;
import com.topc.problem.model.vo.ParentTagVo;
import com.topc.problem.model.vo.TagTreeShowVo;
import org.springframework.web.bind.annotation.RequestBody;


import java.util.List;


public interface IProblemTagService extends IService<ProblemTag>{

    PageResult<ProblemTag> searchByPage(PageParams pageParams,QueryTagDto queryTagDto);


    List<ParentTagVo> getParentTagList();

    void addTagInfo(ProblemTag problemTag);

    void delTagInfo(Long tagId);

    void updateTagInfo(ProblemTag problemTag);

    List<TagTreeShowVo> getTagTreeShowVo();

    List<Long> getTagIds(Long problemId);

    List<ProblemTag> getTags(Long problemId);
}
